projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2341653
)
(revert-buffer): Fix previous change.
author
Kenichi Handa
<handa@m17n.org>
Tue, 30 Jul 2002 00:44:36 +0000
(
00:44
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 30 Jul 2002 00:44:36 +0000
(
00:44
+0000)
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index 3fe0fa479ee8d5684eb992f48381b8d3d9a242c2..98cf8bfae568e65eea19e5d966a6ef0ad406d1f3 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-3305,7
+3305,8
@@
non-nil, it is called instead of rereading visited file contents."
;; Auto-saved file shoule be read without
;; any code conversion.
(if auto-save-p 'emacs-mule-unix
- coding-system-for-read)))
+ (or coding-system-for-read
+ buffer-file-coding-system))))
;; This force
;; after-insert-file-set-buffer-file-coding-system
;; (called from insert-file-contents) to set